$(function () {

    $('.am-header-title').text('衣橱管理');
    $('#hat').draggabilly();
    $('#hairstyle').draggabilly();
    $('#coat').draggabilly();
    $('#pants').draggabilly();
    $('#shoes').draggabilly();

    $('.am-header-title').text('形象搭配');
    var user = JSON.parse(localStorage.getItem("user"));
    if (user == null || user == "null") {
        window.location.href = '../../app/login/login.jsp';
    }
});

